package com.lucher.tangstore.dao;

import com.lucher.tangstore.po.Operator;

import java.util.List;

public interface OperatorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Operator record);

    int insertSelective(Operator record);

    int updateByPrimaryKeySelective(Operator record);

    int updateByPrimaryKey(Operator record);
    
    Operator selectByPrimaryKey(Integer id);

    //自定义接口
    List<Operator> findOperatorList(Operator record);
    List<Operator> findOperatorListForPage(Operator record);
    int findByCount(Operator record);
    Operator findOperatorByLoginname(Operator record);
    
}